package com.xjscrm.server.service.wwcorp.impl;

import com.xjscrm.common.annotation.MerId;
import com.xjscrm.common.entity.WwCorp;
import com.xjscrm.server.mapper.WwCorpMapper;
import com.xjscrm.server.service.wwcorp.WwCorpService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 企业微信群实现类
 *
 * @author makejava
 * @since 2024-03-01 17:01:12
 */
@Slf4j
@Service
public class WwCorpServiceImpl implements WwCorpService {

    @Autowired
    private WwCorpMapper wwCorpMapper;

    /**
     * @param entId
     * @return null
     * @author jitwxs
     * @date 2024/3/8 17:12
     */
    public WwCorp findWwCorp(@MerId Long merId, @MerId String entId) {

        return wwCorpMapper.selectByEntId(merId, entId);

    }


}
